package com.bdqn.bookshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

/**
 * @author : 罗若然[LUO_RUO_RAN]
 * @date : 2020-07-24 09:59
 * 用户
 **/
public class MallUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//用户编号
    private String userName;//用户名
    private String password;//密码
    private String email;//邮箱
    private String nickName;//昵称
    private String phone;//手机号
    private Date createTime;//注册时间
    private Integer islocked;//是否锁定(1-未锁定 2-已锁定)

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsLocked() {
        return islocked;
    }

    public void setIsLocked(Integer islocked) {
        this.islocked = islocked;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
